package com.scsj.supermarket.base;

import com.scsj.supermarket.bean.MineCouponBean;

import org.json.JSONObject;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * Created by Administrator on 2018/6/25.
 * 查询我的优惠券
 */

public class QueryConpouBase {

    public interface IView {

        void showSuccessMsg(String s, MineCouponBean mineCouponBean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {

        void deliverData(RequestBody requestBody);
    }

    public interface IModel {

        Subscription getData(RequestBody requestBody, ResponseCallback<MineCouponBean> callback);
    }
}
